<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>Create New Auction</title>
</head>
<body>
<a href = '/home/'>Home</a>
<h2>Create Auction</h2>
    <form method="post">
        {% csrf_token %}
         <p>
             <label style="color:red;">{{ e_title }}</label><br>
             <label>Title:</label>
             <input maxlength="50" name="title" type="text" value="{{ v_title }}"/>
         </p>
            <p>
                <label style="color:red;">{{ e_category }}</label><br>
                <label>Category:</label>
                <input maxlength="30" name="category" type="text" value="{{ v_category }}"/>
            </p>
            <p>
                <label style="color:red;">{{ e_cPrice }}</label><br>
                <label>Current Price:</label>
                <input name="cPrice" type="number" step = "any" value="{{ v_cPrice }}"/>
            </p>
            <p><label>Description:</label><br>
                <textarea maxlength="1000" cols="50" rows="10" name="iDesc">{{ v_iDesc }}</textarea>
            </p>
            <p>
                <label style="color:red;">{{ e_eDate }}</label><br>
                <label>End Date(Y-m-d H:M):</label>
                <input name="eDate" type="text" value="{{ v_eDate }}"/>
            </p>
            <p>
                <label style="color:red;">{{ e_aOwner }}</label><br>
                <label>Auction Owner:</label>
                <input maxlength="30" name="aOwner" type="text" value="{{ v_aOwner }}"/>
            </p>
        <input type="submit" value="Submit">
    </form>
</body>
</html>